from django.core.cache import cache, caches


def run():
    name = cache.get('name')
    print(name)
    cache.set('name', 'zhangsan', 60)
    name = cache.get('name')
    print(name)
